
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../global/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./frm.css" />
</head>
<body>
    <div id="my-info" class="aui-content aui-margin-b-15"></div>
</body>

<script id="tpl-my-info" type="text/x-dot-template">
    <ul class="aui-list aui-list-in" data-uid="{{=it.space.uid}}">
        <li class="aui-list-item" tapmode onclick="views.openAvatarUpperWin();" >
            <div class="aui-list-item-inner aui-list-item-arrow">
                <div class="aui-list-item-title">头像</div>
                <div class="aui-list-item-right">
    	            <img id="avatar" class="aui-img-round" src="../../../global/image/noavatar_M.gif" data-type="avatar" data-src="{{=avatarUrlById(it.space.uid)}}"/>
                </div>
            </div>
        </li>
        <li class="aui-list-item" tapmode onclick="editNick(this);" >
            <div class="aui-list-item-inner aui-list-item-arrow">
                <div class="aui-list-item-title">用户名</div>
                <div id="nick" class="aui-list-item-right">{{=decodeEmoji(it.space.username)}}</div>
            </div>
        </li>
        <li class="aui-list-item disabled">
            <div class="aui-list-item-inner {{?it.space && it.space.mobile!= ""}}aui-list-item-arrowx{{??}}aui-list-item-arrow{{?}}">
                <div class="aui-list-item-title">手机</div>
                {{?it.space && it.space.mobile!= ""}}
                    <div id="mobile" data-mobile="{{=it.space.mobile}}" class="aui-list-item-right">{{=it.space.mobile}}</div>
                {{??}}
                    <div id="mobile" class="aui-list-item-right" tapmode onclick="views.openGetPhoneWin()">请绑定手机号</div>
                {{?}}
            </div>
        </li>
        <li class="aui-list-item" tapmode onclick="editGender(this);">
            <div class="aui-list-item-inner aui-list-item-arrow">
                <div class="aui-list-item-title">性别</div>
                <div id="gender" data-gender="{{=it.space.gender}}" class="aui-list-item-right">{{=vGender(it.space.gender)}}</div>
            </div>
        </li>
        <li class="aui-list-item" tapmode onclick="editYear(this);">
            <div class="aui-list-item-inner aui-list-item-arrow">
                <div class="aui-list-item-title">年龄</div>
                <div id="year" data-year="{{=it.space.birthyear}}" class="aui-list-item-right">{{=vYear(it.space.birthyear)}}</div>
            </div>
        </li>
        <li class="aui-list-item aui-hide" tapmode onclick="editStarMap(this);">
            <div class="aui-list-item-inner aui-list-item-arrow">
                <div class="aui-list-item-title">星座</div>
                <div id="starmap" data-starmap="" class="aui-list-item-right"></div>
            </div>
        </li>
        <li class="aui-list-item" tapmode onclick="changePwd(this);">
            <div class="aui-list-item-inner aui-list-item-arrow">
                <div class="aui-list-item-title">密码</div>
                <div class="aui-list-item-right">修改密码</div>
            </div>
        </li>
        <li class="aui-list-item" tapmode onclick="views.openCityFrame()">
            <div class="aui-list-item-inner aui-list-item-arrow">
                <div class="aui-list-item-title">地区</div>
                <div class="aui-list-item-right" id="cityname">请选择</div>
            </div>
        </li>
        <li class="aui-list-item" tapmode onclick="editSigHtml(this);">
            <div class="aui-list-item-inner aui-list-item-arrow">
                <div class="aui-list-item-title">签名</div>
                <div id="sig"class="aui-list-item-right">{{=decodeEmoji(vText(it.space.sightml))}}</div>
            </div>
        </li>
	</ul>
</script>

<script type="text/javascript" src="../../../config.js"></script>
<script type="text/javascript" src="../../../global/script/lib/api.js"></script>
<script type="text/javascript" src="../../../global/script/lib/doT.min.js"></script>
<script type="text/javascript" src="../../../global/script/lib/aui-lazyload.js"></script>
<script type="text/javascript" src="../../../global/script/libx/mySelector.js"></script>
<script type="text/javascript" src="../../../global/script/mylib.js"></script>
<script type="text/javascript" src="../../../app.js"></script>
<script type="text/javascript" src="./frm.js"></script>

</html>

<script type="text/javascript" src="../../../global/script/_fakeApi.js"></script>

<script type="text/javascript">
	window.mockProfile = {
		"Version": "4",
		"Charset": "UTF-8",
		"Variables": {
			"cookiepre": "R9rg_2132_",
			"auth": "ad21O0+y9BG\/lYqjRgp2CvXKk5vLn50fLb01B+ZDY7vcmHgxlO7lFn78FvPHHh+22zs61xI87cUtI3nUEPyFVz4v",
			"saltkey": "k6ux8UFO",
			"member_uid": "8952",
			"member_username": "\u4f60\u7785\u5565_e",
			"member_avatar": "http:\/\/123.59.139.38\/uc_server\/images\/avatar\/avatar_0_middle.gif",
			"groupid": "12",
			"formhash": "d50e853a",
			"ismoderator": null,
			"readaccess": "30",
			"notice": {
				"newpush": "0",
				"newpm": "0",
				"newprompt": "3",
				"newmypost": "0"
			},
			"space": {
				"uid": "6",
				"username": "rqxx",
				"status": "0",
				"mobilestatus": "0",
				"emailstatus": "0",
				"avatarstatus": "0",
				"videophotostatus": "0",
				"adminid": "1",
				"groupid": "1",
				"groupexpiry": "0",
				"extgroupids": "",
				"regdate": "2018-6-30 14:24",
				"credits": "9",
				"notifysound": "0",
				"timeoffset": "9999",
				"newpm": "0",
				"newprompt": "3",
				"accessmasks": "0",
				"allowadmincp": "0",
				"onlyacceptfriendpm": "0",
				"conisbind": "0",
				"freeze": "0",
				"mobile": "",
				"levelscore": "154",
				"extcredits1": "9",
				"extcredits2": "23",
				"extcredits3": "0",
				"extcredits4": "0",
				"extcredits5": "0",
				"extcredits6": "0",
				"extcredits7": "0",
				"extcredits8": "0",
				"friends": "0",
				"posts": "11",
				"threads": "7",
				"digestposts": "0",
				"doings": "0",
				"blogs": "0",
				"albums": "0",
				"sharings": "0",
				"attachsize": "   0 B ",
				"views": "0",
				"oltime": "1",
				"todayattachs": "5",
				"todayattachsize": "247028",
				"feeds": "0",
				"follower": "0",
				"following": "0",
				"newfollower": "0",
				"blacklist": "0",
				"videophoto": "",
				"spacename": "",
				"spacedescription": "",
				"domain": "",
				"addsize": "0",
				"addfriend": "0",
				"menunum": "0",
				"theme": "",
				"spacecss": "",
				"blockposition": "",
				"recentnote": "\u51fa\u552e\u95f2\u7f6e\u9177\u6d3e\u5927\u795eF1\u667a\u80fd\u673a\uff0c150\u5143",
				"spacenote": "",
				"privacy": {
					"feed": {
						"doing": "1",
						"blog": "1",
						"upload": "1",
						"poll": "1",
						"newthread": "1"
					},
					"view": {
						"index": "0",
						"friend": "0",
						"wall": "0",
						"home": "0",
						"doing": "0",
						"blog": "0",
						"album": "0",
						"share": "0"
					},
					"profile": {
						"": null
					}
				},
				"feedfriend": "",
				"acceptemail": [],
				"magicgift": "",
				"stickblogs": "",
				"publishfeed": "0",
				"customshow": "26",
				"customstatus": "",
				"medals": "",
				"sightml": "",
				"groupterms": "a:0:{}",
				"authstr": "",
				"groups": "",
				"attentiongroup": "",
				"realname": "",
				"gender": "0",
				"birthyear": "0",
				"birthmonth": "0",
				"birthday": "0",
				"constellation": "",
				"zodiac": "",
				"telephone": "",
				"idcardtype": "",
				"idcard": "",
				"address": "",
				"zipcode": "",
				"nationality": "",
				"birthprovince": "",
				"birthcity": "",
				"birthdist": "",
				"birthcommunity": "",
				"resideprovince": "",
				"residecity": "",
				"residedist": "",
				"residecommunity": "",
				"residesuite": "",
				"graduateschool": "",
				"company": "",
				"education": "",
				"occupation": "",
				"position": "",
				"revenue": "",
				"affectivestatus": "",
				"lookingfor": "",
				"bloodtype": "",
				"height": "",
				"weight": "",
				"alipay": "",
				"icq": "",
				"qq": "",
				"yahoo": "",
				"msn": "",
				"taobao": "",
				"site": "",
				"bio": "",
				"interest": "",
				"field1": "",
				"field2": "",
				"field3": "",
				"field4": "",
				"field5": "",
				"field6": "",
				"field7": "",
				"field8": "",
				"port": "50888",
				"lastvisit": "2018-10-21 16:11",
				"lastactivity": "2018-10-21 16:11",
				"lastpost": "2018-10-21 16:11",
				"lastsendmail": "0",
				"invisible": "0",
				"buyercredit": "0",
				"sellercredit": "0",
				"favtimes": "0",
				"sharetimes": "0",
				"profileprogress": "0",
				"admingroup": {
					"type": "system",
					"grouptitle": "\u7ba1\u7406\u5458",
					"stars": "9",
					"color": "",
					"icon": "",
					"readaccess": "200",
					"allowgetattach": "1",
					"allowgetimage": "1",
					"allowmediacode": "1",
					"maxsigsize": "500",
					"allowbegincode": "1",
					"userstatusby": "1"
				},
				"group": {
					"type": "system",
					"grouptitle": "\u7ba1\u7406\u5458",
					"stars": "9",
					"color": "",
					"icon": "",
					"readaccess": "200",
					"allowgetattach": "1",
					"allowgetimage": "1",
					"allowmediacode": "1",
					"maxsigsize": "500",
					"allowbegincode": "1",
					"userstatusby": "1"
				},
				"lastactivitydb": "1508573465",
				"buyerrank": "0",
				"sellerrank": "0",
				"groupiconid": "admin"
			},
			"extcredits": {
				"1": {
					"img": "",
					"title": "\u79ef\u5206",
					"unit": "",
					"ratio": "0",
					"showinthread": null,
					"allowexchangein": null,
					"allowexchangeout": null
				}
			},
			"wsq": {
				"wsq_apicredit": null
			}
		}
	}

    fooRenderMyInfo();
</script>
